package com.tengyun.middleplatform.trade.etl.model.result;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Author: likailun
 * @Description:
 * @Date: create in 2022/3/10 11:01 上午
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TradingOrderRefund extends TradingBase {

    /**
     * 支付时间
     */
    private LocalDateTime payTime;
    /**
     * 支付方式（微信、支付宝、银联）
     */
    private String payWay;


    /**
     * 渠道码
     */
    private String orderChannel;

    private LocalDateTime createdRefundTime;

    /**
     * 产品编码
     */
    private String productCode;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 应收金额
     */
    private Integer subOrderAmount;
    /**
     * 支付金额
     */
    private Integer subOrderPayAmount;
    /**
     * 实退金额
     */
    private Integer refundAmount;
    /**
     * 退平台优惠
     */
    private Integer platformDiscount;
    /**
     * 申请退款金额
     */
    private Integer refundApplyAmount;
    /**
     * 用户id
     */
    private String uid;
    /**
     * 电话
     */
    private String mobile;
    /**
     * 退款时间
     */
    private LocalDateTime refundTime;
    private LocalDateTime createTime;
    /**
     * 统计数据所属日期
     */
    private LocalDate statisticsDate;
}
